Add missing GL-header
authorAnton Gladky <gladk@debian.org>
Wed, 10 Jan 2024 21:16:54 +0000 (22:16 +0100)
committerAnton Gladky <gladk@debian.org>
Wed, 10 Jan 2024 21:16:54 +0000 (22:16 +0100)
debian/patches/100_add_missing_gl_header.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/100_add_missing_gl_header.patch b/debian/patches/100_add_missing_gl_header.patch
new file mode 100644 (file)
index 0000000..e1d7198
--- /dev/null
@@ -0,0 +1,37 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ vtk9 (9.3.0+dfsg1-1~exp2) experimental; urgency=medium
+ .
+   * [ad5a07d] Update build-depends.
+Author: Anton Gladky <gladk@debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
+Bug: <upstream-bugtracker-url>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: (no|not-needed|<patch-forwarded-url>)
+Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
+Reviewed-By: <name and email of someone who approved/reviewed the patch>
+Last-Update: 2024-01-10
+
+--- vtk9-9.3.0+dfsg1.orig/GUISupport/Qt/QVTKOpenGLWindow.cxx
++++ vtk9-9.3.0+dfsg1/GUISupport/Qt/QVTKOpenGLWindow.cxx
+@@ -22,6 +22,8 @@
+ #include "vtkObjectFactory.h"
+ #include "vtkOpenGLState.h"
++#include <GL/gl.h>
++
+ VTK_ABI_NAMESPACE_BEGIN
+ QVTKOpenGLWindow::QVTKOpenGLWindow(QOpenGLWindow::UpdateBehavior ub, QWindow* p)
+   : QVTKOpenGLWindow(vtkSmartPointer<vtkGenericOpenGLRenderWindow>::New(), nullptr, ub, p)
index 4408e1ac244b4e2d93d22fcda5ba6e394a82c76a..62197a20e778b021fdfc5fda334c5f1ddee7f807 100644 (file)
@@ -9,3 +9,4 @@
 97_reproducible_builds.patch
 98_fix_mpi4py.py
 99_fix_ftbfs.patch
+100_add_missing_gl_header.patch